extends NodeState


var player: Player:
	get:
		return state_matchine.root as Player


func _on_enter(_data: NodeStateData) -> void:
	player.animation_player.play(Player.ANIMATION_IDLE)


func _on_exit() -> void:
	pass


func _on_process(_delta : float) -> void:
	if player.input_manager.is_move_pressed():
		transition_state(Player.STATE_MOVE)
		return
